﻿using Harmontronics.Model.Dto;
using Harmontronics.Model.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Harmontronics.IService.Business
{
    public interface IProductionLineService
    {
        public ProductionLineModel Mending(ProductionLine entity);
        public List<ProductionLineModel> MendingRange(List<ProductionLine> entities);
        //查询
        public List<ProductionLineModel> GetAllProductionLineModel();
        public List<ProductionLine> GetAllProductionLine();
        //根据WorkShopId查询
        public List<ProductionLineModel> GetProductionLineByWorkShopId(string id);
        //根据id查询
        public ProductionLineModel GetProductionLineById(string id);
        //增
        public bool AddProductionLine(ProductionLine productionLine);
        public bool UpdateProductionLine(ProductionLine productionLine);
        public bool DeleteProductionLine(string id);
        public bool BatchDelProductionLine(List<string> ids);
    }
}
